class ParmasError(Exception):
    """Raised when denominator is zero"""
    def __init__(self, expression, message):
        self.expression = expression
        self.message = message


try:
    raise (ParmasError("1/0", "The denominator cannot be zero"))
except ParmasError as e:
    print(e.message)